package com.ybzl.gateway.domain;


public class Result {
    private Integer code;
    private Object data;
    private Boolean success;
    private String info;


    public Result(Integer code, Object data, Boolean success) {
        this.code = code;
        this.data = data;
        this.success = success;
    }

    public Result(Integer code, Object data, Boolean success, String info) {
        this.code = code;
        this.data = data;
        this.success = success;
        this.info = info;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
